import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/union-auth/app/list',
    method: 'post',
    data
  })
}

export function createOrUpdate(data) {
  return request({
    url: '/union-auth/app/createOrUpdate',
    method: 'post',
    data
  })
}

export function deleteApp(id) {
  return request({
    url: '/union-auth/app/' + id,
    method: 'delete'
  })
}
